﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: FlowProcessEntity.cs
// 修改时间：2020-9-8 10:40:03
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：FlowProcess 的实体类.
	/// </summary>
	[Table("FlowProcess")]
	public partial class FlowProcessEntity
	{
		#region Properties
		private int? _processID = 0;
		/// <summary>
		/// 步骤ID(主键)
		/// </summary>
		[Column("ProcessID",TypeName="int")]
		[Key]
		public int? ProcessID
		{
			get {return _processID;}
			set {_processID = value;}
		}
		
		private int? _flowID = 0;
		/// <summary>
		/// 流程ID
		/// </summary>
		[Column("FlowID",TypeName="int")]
		public int? FlowID
		{
			get {return _flowID;}
			set {_flowID = value;}
		}
		
		private System.String _processName = string.Empty;
		/// <summary>
		/// 步骤名称
		/// </summary>
		[Column("ProcessName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ProcessName
		{
			get {return _processName;}
			set {_processName = value;}
		}
		
		private System.String _description = string.Empty;
		/// <summary>
		/// 步骤说明
		/// </summary>
		[Column("Description",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Description
		{
			get {return _description;}
			set {_description = value;}
		}
		
		private System.String _passActionName = string.Empty;
		/// <summary>
		/// 通过操作的操作名，例如：一审通过
		/// </summary>
		[Column("PassActionName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String PassActionName
		{
			get {return _passActionName;}
			set {_passActionName = value;}
		}
		
		private int? _passActionStatus = 0;
		/// <summary>
		/// 通过后的状态码
		/// </summary>
		[Column("PassActionStatus",TypeName="int")]
		public int? PassActionStatus
		{
			get {return _passActionStatus;}
			set {_passActionStatus = value;}
		}
		
		private System.String _rejectActionName = string.Empty;
		/// <summary>
		/// 打回操作的操作名
		/// </summary>
		[Column("RejectActionName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String RejectActionName
		{
			get {return _rejectActionName;}
			set {_rejectActionName = value;}
		}
		
		private int? _rejectActionStatus = 0;
		/// <summary>
		/// 打回后的状态码
		/// </summary>
		[Column("RejectActionStatus",TypeName="int")]
		public int? RejectActionStatus
		{
			get {return _rejectActionStatus;}
			set {_rejectActionStatus = value;}
		}
		
		#endregion
	}
}
